<!--登陆界面 chatu-->
<!DOCTYPE html>
<html>
<head>

    <meta charset="utf-8">
    <title>登录</title>

    <script type="text/javascript" src="/css/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="/css/bootstrap.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" />

</head>
<body class="container" >

<nav class="navbar navbar-default">

    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
        <a class="navbar-brand" href="/">茶阁</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">
            <li><a href="index.php" >查看留言</a></li>
            <li><a href="pub_comment.php" >我要留言</a></li>
        </ul>
        <form class="navbar-form navbar-left" action="search.php" method="post">
            <div class="form-group">
                <input type="text" class="form-control" placeholder="Search" name="search">
            </div>
            <button type="submit" class="btn btn-default">搜留言</button>
        </form>

        <ul class="nav navbar-nav navbar-right">
            <li><a href="register.php" >注册</a></li>
            <li><a href="login.php" >登录</a></li>
            <li><a href="./admin/admin.php">管理员登录</a></li>
        </ul>

    </div><!-- /.navbar-collapse -->
    </div>

</nav>


<div class="row">
    <div class="col-md-4">
    </div>


    <div class="col-md-4">
        <legend class="text-center">用户登录</legend>

        <form class="form-horizontal" action="checkUser.php" method="post">
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-4 control-label">用户名</label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" name="user_name" placeholder="Username">
                </div>
            </div>
            <div class="form-group">
                <label for="inputPassword3" class="col-sm-4 control-label">密码</label>
                <div class="col-sm-8">
                    <input type="password" class="form-control" name="user_pass" placeholder="Password">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-4 col-sm-2">
                    <button type="submit" class="btn btn-primary">登录</button>
                </div>
                <label for="inputPassword3" class="col-sm-4 control-label"><ins><a href="forget_pass.php">忘记密码</a></ins></label>
            </div>
        </form>


    </div>

    <div class="col-md-4">

    </div>

</div>

<hr/>
<div  class="text-center" >茶阁</div>
<br/>
<br/>
<br/>



</body>
</html>